Importance Property (Message Object) 

The Importance property returns or sets the importance of the message as one of mapiNormal (the default), mapiLow, or mapiHigh. Read/write.

Syntax

objMessage.Importance

Data Type

Long

Remarks

The following values are defined:

Constant

Value

Description

mapiLow

0

Low importance

mapiNormal

1

Normal importance (default)

mapiHigh

2

High importance

 

The Importance property corresponds to the MAPI property PR_IMPORTANCE.

Example

This example sets the importance of a message as high:

' from the sample function QuickStart:

    Set objMessage = objSession.Outbox.Messages.Add

    '  error checking here to verify the message was created...

    objMessage.Subject = "Gift of droids"

    objMessage.Text = "Help us, Obi-wan. You are our only hope."

    objMessage.Importance = mapiHigh

    objMessage.Send

 

See Also

Send Method (Message Object)1JTD0I1